package top.soning.disk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import top.soning.disk.entity.UserEntity;

import java.util.List;

@Mapper
public interface UserMapper {
//    @Select(value = "select uid,username,avatar,alias,gender from tb_user")
    List<UserEntity> getAll();
    int addUser(UserEntity user);
    int updateUser(UserEntity user);
    int deleteUser(Long uid);
}
